package com.vcc.service.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.vcc.data.entity.Otp;
import com.vcc.data.entity.Role;
import com.vcc.service.client.vo.otp.ClientOtpVo;

import java.util.List;

public interface OtpService extends IService<Otp> {

    Page<ClientOtpVo> paging(
            Page<ClientOtpVo> pageable,
            Long userCardId
    );

    List<ClientOtpVo> listByUserCardId(
            Long userCardId
    );

}
